/*
 * @Author: aster lipian1004@163.com
 * @Date: 2025-03-10 17:09:47
 * @FilePath: \aster-flowable-uniapp\src\api\sys\file.ts
 * @Description: 附件API
 * Copyright (c) 2025 by Aster, All Rights Reserved.
 */

import { request } from '@/utils/http';
import { PORT1 } from '../config';

/**
 * @description: 通过角色ids批量获取用户信息
 * @param ids
 * @return {*} 返回用户id集合
 */
export const uploadApi = (file: any) => {
  return request.upload<Upload.ResFileUrl>(PORT1 + `/file/upload`, {
    file: file,
  });
};
